Low-light Image Enhancement Algorithm Based on Retinex and Generative Adversarial Network

Yangming Shi, Xiaopo Wu, Ming ZhuarXiv 2019

Abstract

Low-light image enhancement is a critical yet challenging task in image processing, particularly for complex visual tasks at night or in weakly illuminated environments. To mitigate blur and noise in low-light captures, various technologies have been proposed; however, many struggle with extremely poor illumination or practical deployment. This work introduces a novel approach based on Retinex theory and Generative Adversarial Networks (GANs). The proposed architecture, Retinex-GAN, consists of a decomposition stage that separates an image into illumination and reflectance components, followed by an enhancement stage to generate high-quality outputs. Experimental results on the Converted See-In-the-Dark (CSID) dataset demonstrate that the model effectively handles varying lighting conditions, achieving satisfactory performance in clarity and noise reduction.

Introduction

Capturing high-quality images in low-light environments remains a fundamental challenge in computer vision. Standard brightness adjustments often fail because they amplify sensor noise, introduce "halo" artifacts around light sources, and result in unnatural color shifts. While Deep Convolutional Neural Networks (DCNNs) have advanced the field, they are often limited by the scarcity of high-quality paired training data and the tendency of Retinex-based models to fall into "local optima"—mathematical traps where the network produces trivial, non-physical decompositions.

This paper presents Retinex-GAN, a hybrid framework that integrates the physical principles of Retinex theory with the generative capabilities of GANs. By decomposing images into their constituent physical properties before enhancement, the model achieves superior detail preservation and noise suppression compared to traditional methods.

Methodology: The Retinex-GAN Framework

The core of the proposed method is a "W-shaped" generative network designed to adhere to the physical laws of light while leveraging adversarial training for realistic texture generation.

Decomposition and Enhancement Stages

The generator utilizes two parallel U-Net architectures. The first stage, Decomposition, splits the input low-light image into an illumination map (representing the light distribution) and a reflectance map (representing the inherent properties of the objects). Unlike many existing models that use a single-channel illumination map, this framework employs a three-channel map to better account for how different RGB channels interact with light.

The second stage, Enhancement, refines these maps to reconstruct a clear, well-lit image. This two-step process ensures that the model doesn't just "brighten" pixels but understands the underlying scene structure.

Adversarial Training and Loss Functions

To ensure visual realism, a PatchGAN discriminator is employed. This discriminator critiques the output at a local patch level, forcing the generator to produce fine-grained textures that are indistinguishable from real, well-lit photographs.

A critical contribution of this work is the introduction of a Regularization Loss ($L_{reg}$). This constraint prevents the reflectance values from drifting toward useless extremes (such as all values being 1), which is a common failure mode in Retinex-based neural networks. Additionally, the model incorporates Multi-Scale Structural Similarity (MS-SSIM) into its loss function to preserve structural details and contrast across multiple scales, ensuring that the final output remains sharp and artifact-free.

Experimental Evaluation

The model was evaluated using two primary benchmarks: the LOw-Light (LOL) dataset and the Converted See-In-the-Dark (CSID) dataset. The CSID dataset was specifically processed to include five distinct brightness levels, allowing for a robust assessment of the model's performance across a spectrum of illumination intensities.

Quantitative and Qualitative Results

Retinex-GAN demonstrated significant improvements over both traditional and deep-learning baselines. On the CSID dataset, the model achieved a Peak Signal-to-Noise Ratio (PSNR) of 31.31 and a Structural Similarity Index (SSIM) of 0.879, outperforming standard Pix2pix-GAN and traditional Retinex methods.

Comparison of baseline methods LIME and LightenNet on sample low-light scenes. Existing methods often struggle with color accuracy and overexposure.

Qualitatively, the model excels at suppressing noise in challenging areas, such as distant foliage, while avoiding the overexposure issues seen in methods like LightenNet. The three-channel illumination approach also results in more accurate color reproduction in the enhanced images.

Enhanced result produced by the proposed Retinex-GAN model, showing superior noise suppression and balanced illumination.

Computational Efficiency

Beyond image quality, the model is highly efficient. It achieves a processing speed of 91 FPS on an NVIDIA 1080Ti for $384 \times 256$ resolution images. This performance suggests that Retinex-GAN is well-suited for real-time applications, although performance scales down to approximately 11 FPS at 720p HD resolution.

Conclusion and Future Work

The integration of Retinex theory with GANs provides a powerful solution for low-light image enhancement. By enforcing physical constraints through specialized loss functions and a decomposition-based architecture, Retinex-GAN produces clear, realistic images even in extreme conditions. Future research will focus on optimizing the network for high-definition video processing and exploring unsupervised learning techniques to reduce the dependency on paired training datasets.

Summary updated

BibTeX
@misc{shi2019low,
  author = {Yangming Shi and Xiaopo Wu and Ming Zhu},
  title = {{Low-light Image Enhancement Algorithm Based on Retinex and Generative Adversarial Network}},
  year = {2019},
  eprint = {1906.06027},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.06027},
}
Figure