This repository contains the source code of our paper, LIVENet (accepted for publication in IEEE/CVF Winter Conference on Applications of Computer Vision (WACV'24)).
We propose LIVENet, a novel deep neural network that jointly performs noise reduction on lowlight images and enhances illumination and texture details. LIVENet has two stages: the image enhancement stage and the refinement stage. For the image enhancement stage, we propose a Latent Subspace Denoising Block (LSDB) that uses a low-rank representation of low-light features to suppress the noise and predict a noise-free grayscale image. We propose enhancing an RGB image by eliminating noise. This is done by converting it into YCbCr color space and replacing the noisy luminance (Y) channel with the predicted noise-free grayscale image. LIVENet also predicts the transmission map and atmospheric light in the image enhancement stage. LIVENet produces an enhanced image with rich color and illumination by feeding them to an atmospheric scattering model. In the refinement stage, the texture information from the grayscale image is incorporated into the improved image using a Spatial Feature Transform (SFT) layer.
Check our project page for more qualitative results.
Create a conda environment with dependencies
conda env create -f environment.yml
conda activate livenet
Download LoLv1 dataset from here
LoLv1 dataset has 485 training image pairs and 15 test pairs. Place ours485
and eval15
directories into data
folder.
change the hyperparameters and configuration parameters according to need in src/cfs/lolv1.yaml
.
To train model, Run following command from /src
directory.
python train.py -opt cfs/lolv1.yaml
All the trained checkpoints will be saved in checkpoints
directory.
All the logs and tensorboard events will be saved in logs
directory.
To test model, Run following command from /src
directory.
python test.py -opt cfs/lolv1.yaml
Above command will predict the test images and print PSNR, SSIM, MAE and LPIPS score.
@inproceedings{makwana2024livenet,
title={LIVENet: A novel network for real-world low-light image denoising and enhancement},
author={Makwana, Dhruv and Deshmukh, Gayatri and Susladkar, Onkar and Mittal, Sparsh and Teja, R},
booktitle={Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision},
year={2024}
}
CC BY-NC-ND 4.0